package com.bizhibihui.ordermeal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bizhibihui.ordermeal.entity.BizFoodTags;

/**
 * Description:
 *
 */
public interface BizFoodTagsService extends IService<BizFoodTags> {

    /**
     * 通过美食id删除美食-标签关联数据
     *
     * @param foodId
     * @return
     */
    int removeByFoodId(Integer foodId);

    /**
     * 批量添加
     *
     * @param tagIds
     * @param foodId
     */
    void insertList(Integer[] tagIds, Integer foodId);
}
